﻿@model Guline.Web.Central.Models.PasswordModel
@{
    ViewBag.Title = "ResetPassword";
    Layout = "";
    Guline.Web.Central.Models.LoginModel loginmodel = new Guline.Web.Central.Models.LoginModel();
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/gl/css/style.css")" />
    <script src="~/Scripts/jquery-1.8.2.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
}
<body>
    <div class="l_header">
        <div class="l_header_content">
            <div class="l_logo">
                <img src="~/Content/themes/gl/images/logo.png" />
            </div>
            <div class="l_form_login">
                @Html.Partial("_GLoginPartial", loginmodel)
            </div>
        </div>
        <div class="clr"></div>
    </div>
    <div class="password_content">
        <div class="password_content_form">
            <span class="label_pass">
                Chọn mật khẩu mới cho tài khoản của bạn
            </span>

            @using (Html.BeginForm())
            {
                <div class="password_form">
                    <table border="0" style="font-size:13px;">
                        <tr>
                            <td colspan="2" style="padding-bottom:15px;">Email: @Html.DisplayFor(m => m.Email)</td>
                        </tr>
                        <tr>
                            <td class="td_right"><b>Mật khẩu mới: </b></td>
                            <td class="td_left">@Html.PasswordFor(m => m.Password_New) </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td class="msg">@Html.ValidationMessageFor(m => m.Password_New)</td>
                        </tr>
                        <tr>
                            <td class="td_right"><b>Nhập lại mật khẩu: </b></td>
                            <td class="td_left">@Html.PasswordFor(m => m.ConfirmPassword)</td>
                        </tr>
                        <tr>
                            <td></td>
                            <td class="msg">@Html.ValidationMessageFor(m => m.ConfirmPassword)</td>
                        </tr>
                        <tr>
                            <td colspan="2" class="msg">@Html.ValidationMessage("errortoken")</td>
                        </tr>
                    </table>

                </div>
                
                @Html.HiddenFor(m => m.token)
                @Html.HiddenFor(m => m.Email)
                <div>
                    <input type="submit" id="submit_email" class="s_submit" value="Tiếp tục" />
                    <a href="/">
                        <input type="button" id="cancel_email" class="s_cancel" value="Hủy" />
                    </a>
                </div>
            }


        </div>

    </div>
</body>
